package com.hoshiicloud.market.param.market;

import com.hoshiicloud.common.query.PageParam;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;
import java.time.LocalDateTime;
/**
* <p>
* 查询系统优惠券参数
* </p>
* @author campchen
* @since 2019-05-14
*/
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="查询系统优惠券", description="查询系统优惠券")
public class CouponsQueryParam extends PageParam {


    @ApiModelProperty(value = "租户ID")
    private Long conmpanyid;
    @ApiModelProperty(value = "平台ID")
    private Long platformid;
    @ApiModelProperty(value = "店铺ID")
    private Long storeid;
    @ApiModelProperty(value = "优惠券编码")
    private String couponNo;
    @ApiModelProperty(value = "优惠券二维码内容")
    private String couponQrcode;
    @ApiModelProperty(value = "优惠券名称")
    private LocalDateTime couponName;
    @ApiModelProperty(value = "是否现金券  1-现金券  2-折扣券")
    private Integer credit;
    @ApiModelProperty(value = "面值")
    private BigDecimal amount;
    @ApiModelProperty(value = "折扣率")
    private BigDecimal discount;
    @ApiModelProperty(value = "生效日期")
    private LocalDateTime fromDate;
    @ApiModelProperty(value = "领券后N天失效")
    private Long gotDates;
    @ApiModelProperty(value = "失效日期")
    private LocalDateTime toDate;
    @ApiModelProperty(value = "修改人")
    private String updatedby;
    @ApiModelProperty(value = "是否删除")
    private Integer deleted;
    @ApiModelProperty(value = "备注")
    private String remark;
    @ApiModelProperty(value = "订单id")
    private Long orderid;
    @ApiModelProperty(value = "会员ID")
    private Long memberid;
}
